package com.hzhr.iot.toll.model.gasUser;

import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import com.hzhr.iot.toll.entity.GasUserEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "GasUserPutModel", description = "燃气用户模型(更新)")
@CygModel(entity = GasUserEntity.class)
public class GasUserPutModel {
    @ApiModelProperty(value = "说明 : 用户代码", required = true)
    @CygProperty(show = "", entityProp = "code")
    private String code;
    @ApiModelProperty(value = "说明 : 用户名称", required = true)
    @CygProperty(show = "", entityProp = "name")
    private String name;
    @ApiModelProperty(value = "说明 : 用户地")
    @CygProperty(show = "", entityProp = "address")
    private String address;
    @ApiModelProperty(value = "说明 : 户主手机号")
    @CygProperty(show = "", entityProp = "phone")
    private Long phone;
    @ApiModelProperty(value = "说明 : 用户类型代码(关联: toll_service.options.code, typeName = 'GAS_USER_TYPE')", required = true)
    @CygProperty(show = "", entityProp = "typeCode")
    private String typeCode;
    @ApiModelProperty(value = "说明 : 备注")
    @CygProperty(show = "", entityProp = "remark")
    private String remark;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }
}
